'use strict';
// Copyright 2014 Blueant Inc. All Rights Reserved.

/**
 * @fileoverview 英雄穿戴装备全部升级到10级
 * @author sundbcn@gmail.com (sun debing)
 */

var Task = function () {

};

/**
 * 添加统计
 */
Task.prototype.addStatic = function (static_list, min) {
    static_list.hero_equi_lv_total = static_list.hero_equi_lv_total || 0;
    if (static_list.hero_equi_lv_total < min) {
        static_list.hero_equi_lv_total = min;
    }
};

/**
 * 获取任务进度
 */
Task.prototype.getProgress = function (static_list) {
    return static_list.hero_equi_lv_total || 0;
};

module.exports = new Task();
